/**
 * 文件名：Article
 * 版权：Copyright by www.fsmeeting.com
 * 描述：
 * 修改人：kezs
 * 修改时间：2017/10/11
 * 修改内容：
 */
package com.huluhome.domain;

import java.util.Date;

/**
 * 〈一句话功能简述〉
 *
 * @author kezs
 * @version 2017/10/11
 * @see Article
 */
public class Article {
    private int id;
    private String title;
    private String content;
    private String author;
    private String remark;
    private Date createTime;
    private String keyword;
    private int clickCount;
    private int realClickCount;
    private int replyCount;
    private int categoryId;
    private String categoryName; //类别名称
    private int status=1; // 状态 1=可用 2=不可以用
    private String picUrl;
    private int recommId; //'推荐位置 1=普通，2=热门'

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public int getClickCount() {
        return clickCount;
    }

    public void setClickCount(int clickCount) {
        this.clickCount = clickCount;
    }

    public int getRealClickCount() {
        return realClickCount;
    }

    public void setRealClickCount(int realClickCount) {
        this.realClickCount = realClickCount;
    }

    public int getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(int replyCount) {
        this.replyCount = replyCount;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public int getRecommId() {
        return recommId;
    }

    public void setRecommId(int recommId) {
        this.recommId = recommId;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", author='" + author + '\'' +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                ", keyword='" + keyword + '\'' +
                ", clickCount=" + clickCount +
                ", realClickCount=" + realClickCount +
                ", replyCount=" + replyCount +
                ", categroyId=" + categoryId +
                ", status=" + status +
                ", picUrl='" + picUrl + '\'' +
                ", recommId=" + recommId +
                '}';
    }
}
